﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace STF.Blog.WebApp.Areas.ForumManage.Models.FriendLink
{
    public class FriendLinkUpdateViewModel
    {
        public int Id { get; set; }

        [Required(ErrorMessage ="{0}不能为空")]
        [Display(Name ="链接名称")]
        public string Title { get; set; }

        [Required(ErrorMessage = "{0}不能为空")]
        [Display(Name = "链接")]
        public string Link { get; set; }
    }
}
